package com.example.library.service.impl;

import com.example.library.common.Result;
import com.example.library.entity.Soldout;
import com.example.library.mapper.SoldoutMapper;
import com.example.library.service.ISoldoutService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 胡绍杆
 * @since 2022-06-16
 */
@Service
public class SoldoutServiceImpl extends ServiceImpl<SoldoutMapper, Soldout> implements ISoldoutService {
    public boolean saveSoldout(Soldout soldout){
        return saveOrUpdate(soldout);
    }
}
